package com.ruibang.glass.produce.domain.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-03-11  11:28
 * @Description: TODO
 * @Version: 1.0
 */

@Data
public class MainIngredientsRecordReq extends PageRequest {

    @ApiModelProperty(value = "料方号")
    private String materialCode;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("料罐号")
    private String tankNumber;

    @ApiModelProperty("混合机")
    private String mixer;

    @ApiModelProperty("作业负责人")
    private String jobManager;


}
